<!-- Begin issues/invoice_detail.tpl -->
{opentable}
{titlebar title=$lg->invoice_detail}
<tr class="sectiontableheader" align="center">
	<td width="10%">{$lg->date}</td>
	<td width="10%">{$lg->user}</td>
	{foreach from=$t_task key=ttask item=s_task}
		<td width="10%">{$ttask}</td>
	{/foreach}
	{if $auth}
		<td width="5%">{$lg->edit}</td>
	{/if}	
</tr>
{if is_array($t_fact) > 0}
	{foreach from=$t_fact key=inpid item=s_fact}
		<tr class="sectiontableentry2" align="center">
			<td>{$s_fact.mtime|userdate}</td>
			<td>{username id=$s_fact.idusr}</td>
		{foreach from=$t_task key=ttask item=s_task}
			<td>{$s_fact.$ttask|string_format:"%.2f"}</td>				
		{/foreach}
			{if $auth}
			<td width="5%"><a href="?module=issues&action=invoice&sub=edit&issueid={$s_fact.issueid}&inpid={$inpid}" ><img src="{$smarty.env.imgs.edit}" alt="edit" class="icons" /></a></td>	
			{/if}	
		</tr>
	{/foreach}
{else}
<tr class="data"><td colspan="7">{$lg->no_data}</td></tr>
{/if}
</table>
<!-- End issues/invoice_detail.tpl -->

